'''
Created on May 5, 2012

@author: peng
'''
import tornado.ioloop
import tornado.web


class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write('hello word!')
        
application = tornado.web.Application([
                                       (r"/test", MainHandler),
                                       ])

if __name__ == '__main__':
    application.listen(8888)
    tornado.ioloop.IOLoop.instance().start()
